package com.lyeducation.entities.middle;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

@Entity
@Table(name = "sys_user_image")
@IdClass(SysUserImageEntityPK.class)
public class SysUserImageEntity implements Serializable {
    private String userId;
    private String imageId;
    private Timestamp createTime;

    @Id
    @Column(name = "userId", nullable = false, length = 18)
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Id
    @Column(name = "imageId", nullable = false, length = 18)
    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    @Basic
    @Column(name = "createTime", nullable = true)
    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    
}
